//
//  WeBoCommon.swift
//  GitWeibo
//
//  Created by 胡金东 on 2017/5/31.
//  Copyright © 2017年 胡金东. All rights reserved.
//

import Foundation

/// - 应用程序ID
let WBAppKey = "3276910141"
/// App Secret
let WBAppSecrt = "0c217c947ad79038e0ab2715736b6a5d"
/// 回调地址
let WBRedirectURL = "http://www.baidu.com"

//MARK: -  全局通知定义
/// - 用户需要登录通知
let WBUserShouldLoginNotification = "WBUserShouldLoginNotification"

/// - 用户登录成功通知
let WBUserLoginSuccessNotification = "WBUserLoginSuccessNotification"

//MARK: - 计算配图的高度
/// - 配图外的间距
let WBStatusPictureViewOutterMargin = CGFloat(12)
/// - 配图内的间距
let WBStatusPictureViewInnerMargin = CGFloat(3)
/// - 配图的宽度
let WBStatusPictureWidth = UIScreen.main.bounds.width - 2 * WBStatusPictureViewOutterMargin
/// - 每个图片的宽度
let WBStatusEveryOnePictureWidth = (WBStatusPictureWidth - 2 * WBStatusPictureViewInnerMargin)/3
